package com.arpa.ntocc.basic.api.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * APP发布信息DTO
 * </p>
 *
 * @author LEO
 * @since 2020-03-17
 */
@Data
@ApiModel(value="AppInfoDTO对象", description="APP发布信息")
public class AppInfoDTO extends BasicEntity {


    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "SHA1")
    private String sha1;

    @ApiModelProperty(value = "大小 bytes")
    private Long size;

    @ApiModelProperty(value = "类型：tmsDriver司机 tmsShipper货主")
    private String type;

    @ApiModelProperty(value = "版本")
    private String version;

    @ApiModelProperty(value = "更新内容")
    private String content;

    @ApiModelProperty(value = "是否开启更新：0否 1是")
    private Integer openUpdate;

    @ApiModelProperty(value = "是否强制更新：0否 1是")
    private Integer forceUpdate;

    @ApiModelProperty(value = "二维码")
    private String qrCode;

    @ApiModelProperty(value = "下载连接")
    private String link;



    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
